<template>
<div>
  <router-view/>
  <div>
    <router-link to="/home/add" tag="a">添加</router-link>
    <router-link to="/home/list" tag="a">新闻列表</router-link>
    <router-link to="/home/user" tag="a">个人中心</router-link>
  </div>
</div>
</template>

<script>

export default {
  name: 'Home',
  methods: {
    reg () {
      this.$router.push('/home')
    }
  }
}
</script>
